import 'package:get_it/get_it.dart';
import 'package:juming_test/routes/app_router.dart';
import 'package:logger/logger.dart';

final getIt = GetIt.instance;

void setupLocator() {
  // 注册单例
  getIt.registerSingleton<AppRouter>(AppRouter());
  // 注册logger单例
  getIt.registerSingleton<Logger>(Logger());
}
